//
//  LUntilsTools.h
//  Q1603_0703
//
//  Created by LuSW on 16/7/4.
//  Copyright © 2016年 rimi. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

typedef void(^ButtonAction)(void);

@interface LUtilityTools : NSObject


+ (void)showAlertWithTitle:(NSString *)title
                   message:(NSString *)message;

+ (void)showAlertWithTitle:(NSString *)title
                   message:(NSString *)message
              buttonAction:(void(^)(void))buttonAction;

+ (void)showAlertWithTitle:(NSString *)title message:(NSString *)message SureStr:(NSString *)sureStr buttonAction:(void (^)())buttonAction;


+ (void)showAlertWithTitle:(NSString *)title
                   message:(NSString *)message
                actionsMsg:(NSArray *)actionsMsg
              buttonActions:(void(^)(int index))buttonActions;


+ (void)showAlertWithTitle:(NSString *)title message:(NSString *)message cancelTitle:(NSString *)canceltitle buttonAction:(void(^)())buttonAction sureTitle:(NSString *)sureTitle ButtonAction:(void(^)(void))buttonAction;

// 自动计算字体大小宽高
+(CGSize)string:(NSString *)str sizeWithFont:(CGFloat)font;

+ (void)AnimationWithLabel:(UILabel*)labelShow;// 超过文本的宽度就滚动字体



@end










